package com.geeklei.media.ui.common;

import android.animation.Animator;
import android.animation.Animator.AnimatorListener;
import android.view.View;

public class ViewGoneAnimatorListener implements AnimatorListener {
    private View mView;

    public ViewGoneAnimatorListener(View view) {
        this.mView = view;
    }

    public void onAnimationCancel(Animator animator) {
    }

    public void onAnimationEnd(Animator animator) {
        if (this.mView != null) {
            this.mView.setVisibility(8);
        }
    }

    public void onAnimationRepeat(Animator animator) {
    }

    public void onAnimationStart(Animator animator) {
    }
}
